import React from 'react'

function Homegaround(props) {
  console.log("子组件render");
  return (
    <div>homegaround

        <button onClick={ props.fn}>点我调用父组件的方法</button>
    </div>
  )
}

export default Homegaround